//#include<stdio.h>
//int main()
//{
//	int a = 1;
//	int b = 2;
//	int c = (a > b, a = b + 10, a, b = a + 1);
//		printf("%d\n", c);
//	return 0;
//}

#include<stdio.h>
int main()
{
	int a = 1;
	int b = 2;
	a = get_val();
	count_val(a);
	while (a > 0)
	{
		a = get_val();
		count_val(a);
	}
	return 0;
}